//
// Created by macbookpro on 2024/4/12.
//

#ifndef TESTDESIGNPATTERNSSTRATEGY_MODELDUCK_H
#define TESTDESIGNPATTERNSSTRATEGY_MODELDUCK_H
#include "Duck.h"
#include "FlyNoWay.h"
#include "Quack.h"


class ModelDuck :public Duck{
public:
    explicit ModelDuck(std::unique_ptr<FlyNoWay>&& flyNoWay,
                       std::unique_ptr<Quack>&& quack)
                       : Duck(std::move(flyNoWay), std::move(quack)){

    }
    void display() const override{
        std::cout<<"I'm a model duck"<<std::endl;
    }

};


#endif //TESTDESIGNPATTERNSSTRATEGY_MODELDUCK_H
